import request from '@/utils/request'

export function productList() {
  return request({
    url: '/product/list',
    method: 'get',
  })
}

export function productSearch(page) {
  return request({
    url: '/product/search',
    method: 'get',
    params: page
  })
}

export function productAdd(page) {
  return request({
    url: '/product/add',
    method: 'get',
    params: page
  })
}

export function productDelete(page) {
  return request({
    url: '/product/delete',
    method: 'get',
    params: page
  })
}

export function productEdit(page) {
  return request({
    url: '/product/edit',
    method: 'get',
    params: page
  })
}

